#include "cpu/exec/template-start.h"
#include "cpu/eflags.h"

#define instr je

static void do_execute() {
    DATA_TYPE_S imm=op_src->val;
	print_asm("je %x",cpu.eip+DATA_BYTE+imm+1);
	if (cpu.eflags.ZF==1)cpu.eip+=imm;
}

make_instr_helper(i)

#include "cpu/exec/template-end.h"